<%--
  Created by IntelliJ IDEA.
  User: 86177
  Date: 2021/12/7
  Time: 18:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Info</title>
</head>
<body>
    <form action="<%=request.getContextPath()%>/bookstore?act=save&id=${book.id}" method="post">
        <table align="center">
            <caption>书籍信息</caption>
            <tr><td>书名:</td><td><input type="text" name="bookName" value="${book.bookName}"></td></tr>
            <tr><td>作者:</td><td><input type="text" name="author" value="${book.author}"></td></tr>
            <tr><td>价格:</td><td><input type="text" name="price" value="${book.price}"></td></tr>
            <tr><td>出版社:</td><td><input type="text" name="press" value="${book.press}"></td></tr>
            <tr><td>出版日期:</td><td><input type="text" name="pressDate" value="${book.pressDate}"></td></tr>
            <tr><td><input type="submit" value="提交"></td><td><input type="reset" value="重置"></td></tr>
            <tr><td colspan="2">${ErrorMsg}</td></tr>
        </table>
    </form>
</body>
</html>
